package com.orchard.xpz.dao;

import com.orchard.xpz.entity.GardenMedication.GardenMedication;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GardenMedicationDao {

    List<GardenMedication> getList(GardenMedication gardenMedication);

    int deleteByPrimaryKey(String medId);

    int insert(GardenMedication record);

    int insertSelective(GardenMedication record);

    GardenMedication selectByPrimaryKey(String medId);

    int updateByPrimaryKeySelective(GardenMedication record);

    int updateByPrimaryKey(GardenMedication record);
}